Skip to content

Better more logging #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jlrobins
Copy link

@jlrobins jlrobins commented Aug 1, 2022

Include timestamp, calling context (asynpg innards that led to this statement being executed), and statement arguments (if any) when collecting information to log to help diagnose TX bad state issues.

Also skip double-logging the same statement.

@jlrobins jlrobins merged commit 47d0e25 into more_logging_when_cannot_use_transaction Aug 1, 2022
@jlrobins jlrobins deleted the better_more_logging branch August 1, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant